Mark GtkStyleContext::direction as deprecated
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:42:07 +0000 (13:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:42:07 +0000 (13:42 -0400)
The setter was deprecated a while ago, do the same for the property.

gtk/gtkstylecontext.c

index f75cf2285626ca96445c68aa79c5a4fc2e6256da..53e7fa95cab0e4a08f98ad07a64a512c84532b37 100644 (file)
@@ -373,7 +373,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass)
                                                       P_("Text direction"),
                                                       GTK_TYPE_TEXT_DIRECTION,
                                                       GTK_TEXT_DIR_LTR,
-                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
+                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED));
 
   /**
    * GtkStyleContext:parent: